<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
	$("#gaoliang22").removeClass("sub-menu-link").addClass("selected");
	$("#merOrderNum").val(getRandomNum());
	function getRandomNum() {
window.random_code_base = (([ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J',
'K', 'M', 'N' ])[new Date().getMonth()])
+ '_' + (Math.random() * 10000000000 + '').substring(0, 4);	
return window.random_code_base + "_" + (window.random_code_index++);
	</script>
<!-- <script type="text/javascript" -->
<%-- 	src="${ctx}/pages/templete/js/validate/trade_query.js"></script> --%>
	<form action="${ctx}/trade/tradeQuerySubmit4027.do" id="trade_query"
		name="trade_query" method="post" target="_blank">
		<input type="hidden" value="${sessionScope.gopay_webtest_key}"
			name="VerficationCode" id="VerficationCode">
		<table width="100%">
			对账统计查询4027
			<tr>
				<td width="30%" align=right>版本号4027:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="version"
					name="version" value="${goodsinfo.version }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>内部交易码:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranCode"
					name="tranCode" value="${goodsinfo.tranCode }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>商户ID:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="merId"
					name="merId" value="${goodsinfo.merId }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font> <span
					id="merchantIDTip"></span>
				</td>
			</tr>
			
			<tr>
				<td width="30%" align=right>商户订单号:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="merOrderNum"
					name="merOrderNum" value="${goodsinfo.merOrderNum }" size="50" />
				</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="merOrderNumTip"></span>
				</td>
			</tr>
			
			<tr>
				<td width="30%" align=right>商户子账号:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="customerAccount"
					name="customerAccount" value="${goodsinfo.customerAccount }" size="50" />
				</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="merOrderNumTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>起始日期:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="startDate"
					name="startDate" value="${goodsinfo.startDate }" size="50" />
				</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="merOrderNumTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>截止日期:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="endDate"
					name="endDate" value="${goodsinfo.endDate }" size="50" />
				</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="merOrderNumTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>交易类型:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranType"
					name="tranType" value="${goodsinfo.tranType }" size="50" />
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>加密方式:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="signType"
					name="signType" value="${goodsinfo.signType }" size="50" />
				</td>
				<td>1:MD5,2:SHA,3:API证书</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="merOrderNumTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>用户浏览器IP:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranIP"
					name="tranIP" value="${goodsinfo.tranIP }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font> <span
					id="tranIPTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>附加信息:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="msgExt"
					name="msgExt" value="${goodsinfo.msgExt }" size="50" /></td>
				<td width="25%" align=left>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>指定返回编码:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text"
					id="merchantEncode" name="merchantEncode"
					value="${goodsinfo.merchantEncode }" size="50" /></td>
				<td width="25%" align=left>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>通知地址:&nbsp;&nbsp;</td>
				<td align=left width="45%">
				<input type="text" size="50" /></td>
				<td width="25%" align=left>
				</td>
			</tr>
			<tr>
				<td colspan=3>&nbsp;</td>
			</tr>
			<tr>
				<td colspan=3 width="100%">
					<center>
						<input type="button" name="def_button" id="def_button"	value="设置默认值">&nbsp;&nbsp; 
						<input type="submit" name="submit" id="submit" value="开始测试">
					</center>
				</td>
			</tr>

		</table>
	</form>
	
<div>
	<img src="${ctx}/image/chaxundingdan.jpg" alt="" height="200px"></img>
</div>